package com.to8to.autotask.lundan;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

public class Company {

	public int _id; //公司id
	
	public int daily_num = 0; //当日分配的项目数
	
	public int upperlimit = 0;
	
	public int month_num = 0; //当月分配的项目数
	
	public int month_poor_num = 0; //当月分配的非优质项目数
	
	public double month_poor_ratio = 0; //当月非优质项目的占比
	
	public boolean month_poor_baohe = false;
	
	public int total_num = 0; //总分配数
	
	public int total_hits = 0; //总中标数
	
	public double total_hits_ratio = 0; //总中标率
	
	public Map<String, Integer> price_hits = new HashMap<String, Integer> ();//各价位段的中标数
	
	public Map<String, Integer> price_num = new HashMap<String, Integer> ();//各价位段的分配数
	
	public Map<String, Double> price_hits_ratio = new HashMap<String, Double> ();//各价位段的中标率
	
	public int monthlylimit = 0; //承诺项目量
	
	public List<String> categories = new ArrayList<String>(); //品类 cityid_areaid_pricelevel_cgate
	
	public int dayoff = 0;
	
	public double balance = 0; //余额
	
	public boolean has_balance = false; //
	
	public boolean class_a = false; //A类公司
	
	public Map<String, Integer> tbnums = new HashMap<String, Integer>(); //不同价位段的消耗次数
	
	public int aptrank = 0;  //施工资质
	
	public List<GeoPoint > locations = new ArrayList<GeoPoint >(); // 分公司位置信息
	
	public double koubei = 0; //综合评分
	
	public Set<Integer> styles = new HashSet<Integer>(); //从现场表里获得的所有工地的所有风格
	
	public Map<String, Set<Integer>> gongdis = new HashMap<String, Set<Integer> >(); //cityid_areaid---->comm_id(楼盘id)
	
	public double score = 0;
	
	public Map<String, Double> scores = new HashMap<String, Double>();
	
}
